package com.kcht.np.vo.role;

import lombok.*;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class RoleCanModifyInfo {

    @NotNull(message = "标识不能为空")
    private Long rid;

    /**
     * 角色 名称
     */
    @Length(min = 1,message = "角色名称不能为空字符串")
    private String roleName;

    /**
     * 角色 描述
     */
    @Length(min = 1,message = "角色描述不能为空字符串")
    private String description;
}
